﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LastLand.Data.World
{
    public class CCombat
    {
        private CWorldGrid position_;
        private List<CCharacter> attacker_;
        private List<CCharacter> defender_;
        private Int32 hp_;
        private Int32 hpLimit_;

        public CCombat()
        {
            position_ = null;
            attacker_ = new List<CCharacter>();
            defender_ = new List<CCharacter>();
            hp_ = 0;
            hpLimit_ = 0;
        }

        public CWorldGrid Position
        {
            get { return position_; }
            set { position_ = value; }
        }

        public List<CCharacter> Attacker
        {
            get { return attacker_; }
            set { attacker_ = value; }
        }

        public List<CCharacter> Defender
        {
            get { return defender_; }
            set { defender_ = value; }
        }

        public Int32 HP
        {
            get { return hp_; }
            set { hp_ = value; }
        }

        public Int32 HPLimit
        {
            get { return hpLimit_; }
            set { hpLimit_ = value; }
        }
    }
}
